package com.chen.pspms.service;

import com.chen.pspms.entity.Resourcedemand;
import com.chen.pspms.utils.ApplicationException;

import java.util.List;

public interface ResourcedemandService {
    public Integer save(Resourcedemand resourcedemand) throws ApplicationException;
    public Integer delete(Integer id) throws ApplicationException;
    public Resourcedemand findyById(Integer id) throws ApplicationException;
    public Resourcedemand findyByType(String type) throws ApplicationException;
    public Integer update(Resourcedemand resourcedemand) throws ApplicationException;
    public List<Resourcedemand> findyAll() throws ApplicationException;
}
